#!/bin/bash
cd ../c-lang/shared_1 || exit 1
bash build.sh
cd ../../src || exit 2
cjc -L "${PWD}"/../c-lang/shared_1 -lshared_1 main.cj
env LD_LIBRARY_PATH="${PWD}"/../c-lang/shared_1:"$LD_LIBRARY_PATH" ./main